import {defineStore} from 'pinia'

export const userSession = defineStore('qz-user-session', {
    state: () => {
        return {
            userInfo: null, userDetail: null
        }
    }, persist: {
        enabled: true, strategies: [{
            key: 'qz-user-session', storage: localStorage
        }]
    }
})